# [3,5,8,7,2,0] 求列表最小值
l = [3,5,8,7,2,0]
a = 0
w = l[a]
while a<len(l):
    if w > l[a]:
        w = l[a]
    a+=1
print(w)